<?php  	


	if(isset($_GET['PkMovie'])){
		if($_GET['PkMovie'] != '' ){						
			require_once("include_dao.php");	
			DAOFactory::getMovieDAO()->delete($_GET['PkMovie']);
			header( 'Location: movies_list.php?err=40');	
		}
		else
			header( 'Location: movies_list.php?err=42');
	}
	else
		header( 'Location: movies_list.php?err=42');
		
?>
